#ifndef __CLOSELOOP_H
#define __CLOSELOOP_H	

#include "my_sys.h"

#define Open_CloseLoop	0
#define ADXL_CloseLoop	1
#define MPU_CloseLoop	2

struct _CloseLoop_Single{
	int CloseLoopFlag;
	double prime;
	double vice;
};
extern struct _CloseLoop_Single CloseLoopSingle;

int CloseLoop_Init(void);
int CloseLoop_Gather(void);
		 				    
#endif
